package com.booksystem.campuslibrarymanagementsystem.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Time;
import java.time.Year;

@Data
@ApiModel("图书表")
@TableName("books_table")
public class BooksTable {

    @ApiModelProperty("图书id")
    private int bookid;

    @ApiModelProperty("图书名称")
    private String title;

    @ApiModelProperty("作者")
    private String author;

    @ApiModelProperty("图书类别")
    private String category;

    @ApiModelProperty("总数")
    private int totalcopies;

    @ApiModelProperty("借出数量")
    private int availablecopies;

    @ApiModelProperty("入库时间")
    private String createdat;


}
